﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OA.Models
{
    public class SysRole:BaseModel
    {
        [Required]
        [StringLength(20)]
        public string Name { get; set; }
        [Required]
        [StringLength(20)]
        public string Remark { get; set; }
        public virtual ICollection<SysPerson> SysPersons { get; set; }
        public virtual ICollection<SysAction> SysActions { get; set; }

    }
}
